Search Hyperspell
Search documents and unstructured data to find specific information using AI-powered queries.
Instructions
Search Hyperspell for documents and data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- src/hyperspell_mcp/server.py:126-129 (handler)The handler function 'query' that executes the core logic of the 'Search Hyperspell' tool by querying the Hyperspell API and converting results to Document objects.def query(query: str) -> list[Document]: """Search Hyperspell for documents and data.""" r = mcp.api.query.search(query=query, collections=mcp.config.collection) return Document.from_pydantic(r.documents)
- src/hyperspell_mcp/server.py:123-125 (registration)The decorator registering the 'query' function as the 'Search Hyperspell' tool with MCP server, specifying the tool name and description.@mcp.tool( name="Search Hyperspell", description="Search Hyperspell for documents and data." )